<!--
  Generated template for the LoginPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
    <ion-title>会员登录</ion-title>
  </ion-navbar>

</ion-header>


<ion-content>

  <div class="logo">
    logo
  </div>

  <form class="form" [formGroup]="loginForm">
    <div class="item">
      <img src="./assets/imgs/account.png">
      <input placeholder="请输入登录账号" formControlName="UserName">
    </div>
    <div class="item">
      <img src="./assets/imgs/lock1.png" >
      <input placeholder="请输入密码" type="password" formControlName="Password">
    </div>
  </form>
  <div style="text-align: center;padding-left: 20px;padding-right: 20px;">
    <button ion-button style="width: 100%;height: 40px;" (click)="loginAction(loginForm.value)">登录</button>
  </div>
  <div class="other">
    <p>忘记密码?</p>
    <p (click)="registerAction()">注册账号</p>
  </div>

</ion-content>
